package com.tduck.cloud.form.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tduck.cloud.form.entity.RelationshipEntity;
import com.tduck.cloud.form.vo.RelationshipVo;

import java.util.List;

/**
 * 关系服务
 *
 * @author Guard Baby
 * @date 2023/04/20
 */
public interface RelationshipService extends IService<RelationshipEntity> {
    List<RelationshipEntity> queryAggregateData(QueryWrapper<RelationshipEntity> queryWrapper);
    boolean updateRelationShip(RelationshipVo relationshipVo);
    boolean addRelationShip(RelationshipVo relationshipVo);
}
